<?php /*a:1:{s:65:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/group/group_edit.vue";i:1690947330;}*/ ?>
<div class="el-dialog">
    <header class="el-dialog__header">
        <span  class="el-dialog__title">修改组别</span>
        <button  data-bs-dismiss="modal" aria-label="Close" class="el-dialog__headerbtn" type="button">
            <i class="el-icon el-dialog__close">
                <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                    <path fill="currentColor" d="M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"></path>
                </svg>
            </i>
        </button>
    </header>
    <!--顶部-->
     <form method="post" onsubmit="return post_add(this,'<?php echo url('edit'); ?>')">
    <div class="el-dialog__body">
        <!--内容-->
       <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">用户名</label>
            <div class="col-sm-10">
              <input type="text" name="name"  value="<?php echo htmlentities($find['name']); ?>" class="form-control" placeholder="请输入组别名称">
            </div>
          </div>   
          
         
         <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">投稿量</label>
            <div class="col-sm-10">
              <input type="text" name="max_amount" value="<?php echo htmlentities($find['max_amount']); ?>" class="form-control" placeholder="请输入每日最大投稿量">
            </div>
          </div> 
          
          <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">经验</label>
            <div class="col-sm-10">
              <input type="text" name="experience" value="<?php echo htmlentities($find['experience']); ?>" class="form-control" placeholder="请输入经验小于">
            </div>
          </div> 
          
          <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">图标</label>
            <div class="col-sm-10">
              <input type="text" name="icon" value="<?php echo htmlentities($find['icon']); ?>" class="form-control" placeholder="图标放置在images/icon/">
            </div>
          </div> 
          
           <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">权限</label>
            <div class="col-sm-10">
              <div class="form-check form-check-inline">
                  <input class="form-check-input" name="authority[]" <?php if(strpos($find['authority'], '1')!== false): ?>checked<?php endif; ?> type="checkbox" id="inlineCheckbox1" value="1">
                  <label class="form-check-label" for="inlineCheckbox1">发信息</label>
                </div>
                <div class="form-check form-check-inline">
                  <input class="form-check-input" name="authority[]" <?php if(strpos($find['authority'], '2')!== false): ?>checked<?php endif; ?> type="checkbox" id="inlineCheckbox2" value="2">
                  <label class="form-check-label" for="inlineCheckbox2">发评论</label>
                </div>
                <div class="form-check form-check-inline">
                  <input class="form-check-input" name="authority[]" <?php if(strpos($find['authority'], '3')!== false): ?>checked<?php endif; ?> type="checkbox" id="inlineCheckbox3" value="3">
                  <label class="form-check-label" for="inlineCheckbox3">发内容</label>
                </div>
                <div class="form-check form-check-inline">
                  <input class="form-check-input" name="authority[]" <?php if(strpos($find['authority'], '4')!== false): ?>checked<?php endif; ?> type="checkbox" id="inlineCheckbox4" value="4">
                  <label class="form-check-label" for="inlineCheckbox4">免审核</label>
                </div>
            </div>
          </div> 
          <input type="hidden" name="__token__" value="<?php echo token(); ?>" />
          <input type="hidden" name="groupid" value="<?php echo htmlentities($find['groupid']); ?>" />
         <!--内容-->
    </div>
    <!--底部-->
    <footer class="el-dialog__footer">
        <span class="dialog-footer">
            <button  type="button" class="el-button el-button--danger" data-bs-dismiss="modal" aria-label="Close">
                <span class="">取消</span></button>
            <button class="el-button el-button--primary" aria-disabled="false" type="submit">
                <span class="">确认</span></button>
        </span>
    </footer>
    </form>
</div>
